<?php

namespace fankers\api;

/**
 * 微信授权接口相关
 * Class wxApi
 * @package api
 */
class WxApi
{
    const OAUTH_URI = 'https://open.weixin.qq.com/connect/oauth2/authorize';    //授权地址
    const ACCESS_TOKEN = 'https://api.weixin.qq.com/sns/oauth2/access_token';   //获取token地址
    const REFRESH_TOKEN = 'https://api.weixin.qq.com/sns/oauth2/refresh_token'; //刷新token
    const USER_INFO = 'https://api.weixin.qq.com/sns/userinfo';                 //获取用户信息
    const IS_VALID  = 'https://api.weixin.qq.com/sns/auth';                     //校验授权信息是否有效
}